home *** CD-ROM | disk | FTP | other *** search
- global gTTKPresent, gTTKName
- repeat with a = the number of windows down to 1
- if the owner of window a = "TextXWindow" then close window a
- end repeat
- if gTTKPresent = "true" then
- get the stacksinuse
- put the itemdelimiter into id
- set the itemdelimiter to ":"
- put "false" into b
- repeat with x = 1 to the number of lines in it
- put (the last item of line x of it = gTTKName) into b
- if b then exit repeat
- end repeat
- if not b then start using stack GetStackPath()&gTTKName
- set the itemdelimiter to id
- installTTools
- end if